package cn.jbolt.ai.klb.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;

import java.util.Date;


/**
 * AI知识库
 */
@TableName("ja_ai_knowledge_base")
public class AiKnowledgeBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(name = "vdbResourceType", description = "VDB资源库")
    @TableField("vdb_resource_type")
    private String vdbResourceType;


    @Schema(name = "vdbResourceId", description = "VDB资源库的主键id")
    @TableField("vdb_resource_id")
    private Long vdbResourceId;

    @Schema(name = "name", description = "名称")
    @TableField("name")
    private String name;

    @Schema(name = "briefInfo", description = "简介")
    @TableField("brief_info")
    private String briefInfo;

    @Schema(name = "isFullTextSearchingEnable", description = "是否启用全文搜索")
    @TableField("is_full_text_searching_enable")
    private Boolean isFullTextSearchingEnable;

    @Schema(name = "enable", description = "是否开启")
    @TableField("enable")
    private Boolean enable;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(locale = "zh", pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBriefInfo() {
        return briefInfo;
    }

    public void setBriefInfo(String briefInfo) {
        this.briefInfo = briefInfo;
    }

    public Boolean getFullTextSearchingEnable() {
        return isFullTextSearchingEnable;
    }

    public void setFullTextSearchingEnable(Boolean fullTextSearchingEnable) {
        isFullTextSearchingEnable = fullTextSearchingEnable;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getVdbResourceType() {
        return vdbResourceType;
    }

    public void setVdbResourceType(String vdbResourceType) {
        this.vdbResourceType = vdbResourceType;
    }

    public Long getVdbResourceId() {
        return vdbResourceId;
    }

    public void setVdbResourceId(Long vdbResourceId) {
        this.vdbResourceId = vdbResourceId;
    }
}
